#pragma once
#include "myhoho\ui\myui.h"
#include "..\..\lib\my_lib.h"

TMessage MakeLoginMsg(const char* UserName, const char* Password);

class CBtnLoginOK:public myui_CButton
{
public:
	CBtnLoginOK(void);
	~CBtnLoginOK(void);
	void OnMouseUp(int x, int y, int botton, int ShiftState = 0);
};

class CFrmLogin:public myui_CForm
{
	CBtnLoginOK *m_btnLogin;
public:
	CFrmLogin(void);
	~CFrmLogin(void);
	void Init(void);
	void Show(void);
	void Hide(void);
	//bool Draw(LP_BITMAPX image);
};

extern CFrmLogin FrmLogin;